<?php
/* @var $this DisplayController */
/* @var $data Category */
?>


<li>
	<figure class="figure-1">
		<img src="<?php echo $data->imageUrl; ?>" alt="">
	</figure>
	<div class="carousel-title">
		<div><?php echo WebUtils::shorten(CHtml::encode($data->name), 20); ?></div> 
		<a href="<?php echo Yii::app()->createUrl("items/display/cate",array("id"=>$data->id)); ?>"
			class="button-1"><?php echo Lang::getResource("readmore")?></a>
	</div>
</li>

